Imports FluentValidation

Public Class LogOnModelValidator
    Inherits AbstractValidator(Of LogOnModel)

    Public Sub New()

        RuleFor(Function(logon) logon.UserName).NotEmpty()
        RuleFor(Function(logon) logon.Password).NotEmpty()

    End Sub

End Class